

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>提醒设置</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/admin/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/admin/layuiadmin/style/admin.css" media="all">
</head>
<body>
<form class="layui-form" action="/admin/set/remindsite" method="post">
    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header">提醒设置</div>
                    <div class="layui-card-body">
                        <blockquote class="layui-elem-quote">公众号提醒模板</blockquote>
                        <div class="layui-form-item">
                            <label class="layui-form-label">新订单提醒</label>
                            <div class="layui-input-inline">
                                <input type="text" name="remind_gzh_neworder"  value="{if condition="isset($setres.remind_gzh_neworder)"}{$setres.remind_gzh_neworder}{/if}" placeholder="模板ID" class="layui-input">
                            </div>
                            <div class="layui-form-mid layui-word-aux">新订单提醒（有人提交提醒）-IT科技/IT软件与服务-OPENTM207350009</div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">审核通过通知</label>
                            <div class="layui-input-inline">
                                <input type="text" name="remind_gzh_shensus"  value="{if condition="isset($setres.remind_gzh_shensus)"}{$setres.remind_gzh_shensus}{/if}" placeholder="模板ID" class="layui-input">
                            </div>
                            <div class="layui-form-mid layui-word-aux">审核通过通知-IT科技/IT软件与服务-OPENTM411211455-{{first.DATA}}
                                审核类型：{{keyword1.DATA}}
                                审核结果：{{keyword2.DATA}}
                                审核时间：{{keyword3.DATA}}
                                {{remark.DATA}}</div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">审核拒绝通知</label>
                            <div class="layui-input-inline">
                                <input type="text" name="remind_gzh_shenerr"  value="{if condition="isset($setres.remind_gzh_shenerr)"}{$setres.remind_gzh_shenerr}{/if}" placeholder="模板ID" class="layui-input">
                            </div>
                            <div class="layui-form-mid layui-word-aux">审核拒绝通知-IT科技/IT软件与服务-OPENTM415250543-{{first.DATA}}
                                审核类型：{{keyword1.DATA}}
                                拒绝原因：{{keyword2.DATA}}
                                审核时间：{{keyword3.DATA}}
                                {{remark.DATA}}</div>
                        </div>
                        <!--<div class="layui-form-item">-->
                        <!--<label class="layui-form-label">报名提醒</label>-->
                        <!--<div class="layui-input-inline">-->
                        <!--<input type="text" name="remind_gzh_baomingtx"  value="{:config('-remindsite.remind_gzh_baomingtx')}" placeholder="模板ID" class="layui-input">-->
                        <!--</div>-->
                        <!--<div class="layui-form-mid layui-word-aux">报名提醒-IT科技/IT软件与服务-OPENTM400417088-{{first.DATA}}-->
                        <!--姓名：{{keyword1.DATA}}-->
                        <!--电话：{{keyword2.DATA}}-->
                        <!--项目：{{keyword3.DATA}}-->
                        <!--时间：{{keyword4.DATA}}-->
                        <!--{{remark.DATA}}</div>-->
                        <!--</div>-->
                        <!--<div class="layui-form-item">-->
                        <!--<label class="layui-form-label">开班通知</label>-->
                        <!--<div class="layui-input-inline">-->
                        <!--<input type="text" name="remind_gzh_rubantz"  value="{:config('-remindsite.remind_gzh_rubantz')}" placeholder="模板ID" class="layui-input">-->
                        <!--</div>-->
                        <!--<div class="layui-form-mid layui-word-aux">培训确认通知-IT科技/IT软件与服务-OPENTM411327668-{{first.DATA}}-->
                        <!--学员姓名：{{keyword1.DATA}}-->
                        <!--培训科目：{{keyword2.DATA}}-->
                        <!--培训时间：{{keyword3.DATA}}-->
                        <!--{{remark.DATA}}</div>-->
                        <!--</div>-->
                        <!--<div class="layui-form-item">-->
                        <!--<label class="layui-form-label">开票成功通知</label>-->
                        <!--<div class="layui-input-inline">-->
                        <!--<input type="text" name="remind_gzh_sucopenpiao"  value="{:config('-remindsite.remind_gzh_sucopenpiao')}" placeholder="模板ID" class="layui-input">-->
                        <!--</div>-->
                        <!--<div class="layui-form-mid layui-word-aux">开票成功通知-IT科技/IT软件与服务-OPENTM411367445-{{first.DATA}}-->
                        <!--商户名称：{{keyword1.DATA}}-->
                        <!--开票金额：{{keyword2.DATA}}-->
                        <!--发票抬头：{{keyword3.DATA}}-->
                        <!--开票时间：{{keyword4.DATA}}-->
                        <!--{{remark.DATA}}</div>-->
                        <!--</div>-->

                        <!--<div class="layui-form-item">-->
                        <!--<label class="layui-form-label">退款成功通知</label>-->
                        <!--<div class="layui-input-inline">-->
                        <!--<input type="text" name="remind_gzh_tmptuikuan"  value="{:config('-remindsite.remind_gzh_tmptuikuan')}" placeholder="模板ID" class="layui-input">-->
                        <!--</div>-->
                        <!--<div class="layui-form-mid layui-word-aux">退款成功通知-IT科技/IT软件与服务-OPENTM414889350-{{first.DATA}}-->
                        <!--订单编号：{{keyword1.DATA}}-->
                        <!--退款金额：{{keyword2.DATA}}-->
                        <!--{{remark.DATA}}</div>-->
                        <!--</div>-->

                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <input type="submit" class="layui-btn" value="确认保存">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
</form>

<script src="/admin/layuiadmin/layui/layui.js"></script>
<script src="/admin/layuiadmin/jq/jquery.js"></script>
<script>
    layui.config({
        base: '/admin/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'form', 'upload','layedit'], function(){
        var $ = layui.$
            ,form = layui.form
            ,upload = layui.upload,layedit = layui.layedit;


        form.on('radio', function(data) {
            var va = data.elem.value;
            if(va==1){
                $("#sms_sign").hide();//签名
                $("#sms_appid").show();//appid
            }else if(va==2){
                $("#sms_sign").show();//签名
                $("#sms_appid").show();//appid
            }else if(va==3){
                $("#sms_sign").show();//签名
                $("#sms_appid").show();//appid
            }else if(va==4){
                $("#sms_sign").hide();//签名
                $("#sms_appid").hide();//appid
            }
            console.log(va);
        });


        upload.render({
            elem: '#layuiadmin-upload-useradmin' //绑定元素
            ,url: "{:url('/admin/Index/upload')}" //上传接口
            ,ext: 'jpg|png|gif'//限制文件
            ,done: function(res){
                //上传完毕回调
                $(this.item).prev("div").children("input").val(res.filename);
                document.getElementById('img1').src = res.filename;
                layer.msg("上传成功");
            }
            ,error: function(){
                //请求异常回调
            }

        });


    })
</script>
</body>
</html>